package com.example.competitionregistration.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.stereotype.Repository;

import java.time.OffsetDateTime;

/**
 * @Author ZhangJun
 * @Description //比赛时间信息
 * @Date 2023/7/20
 **/
@Repository
@Data
@TableName("competition_time_inform")
public class CompetitionTimeInform {
    @TableId(value = "competition_id", type = IdType.ASSIGN_UUID)
    public String competitionId;
    @TableField("registration_start_time")
    public OffsetDateTime registrationStartTime;
    @TableField("registration_end_time")
    public OffsetDateTime registrationEndTime;
    @TableField("preliminary_start_time")
    public OffsetDateTime preliminaryStartTime;
    @TableField("preliminary_end_time")
    public OffsetDateTime preliminaryEndTime;
    @TableField("competition_start_time")
    public OffsetDateTime competitionStartTime;
    @TableField("competition_end_time")
    public OffsetDateTime competitionEndTime;
    @TableField("gmt_time")
    public OffsetDateTime gmtTime;
    @TableField("gmt_modified")
    public OffsetDateTime gmtModified;
}
